package com.hp.mapper;

import com.hp.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    /**
     *   登录验证
     * @param name
     * @param pwd
     * @return
     */
    boolean Login(@Param("uname")String name,@Param("pwd")String pwd);

    List<User> getAll();
}
